package com.base.mapper.voipmapper;

import com.base.po.voip.VersionHistory;
import com.base.po.voip.VersionHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface VersionHistoryMapper {
    int countByExample(VersionHistoryExample example);

    int deleteByExample(VersionHistoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(VersionHistory record);

    int insertSelective(VersionHistory record);

    List<VersionHistory> selectByExample(VersionHistoryExample example);
    
    List<VersionHistory> selectByType(@Param("type") Byte type, @Param("parentid") String parentid);

    VersionHistory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") VersionHistory record, @Param("example") VersionHistoryExample example);

    int updateByExample(@Param("record") VersionHistory record, @Param("example") VersionHistoryExample example);

    int updateByPrimaryKeySelective(VersionHistory record);

    int updateByPrimaryKey(VersionHistory record);
}